import axios from 'axios'
import * as API from './request'
axios.defaults.headers.common['authorization'] = "Bearer "+localStorage.getItem('token')
export const login = (params) =>{
  return API.post('/api/v1/auth/login', params)
}

